package com.edisoncgh.service.impl;

import com.edisoncgh.mapper.BlogRollMapper;
import com.edisoncgh.pojo.BlogRoll;
import com.edisoncgh.service.BlogRollService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BlogRollServiceImpl implements BlogRollService {
    @Autowired
    private BlogRollMapper blogRollMapper;

    @Override
    public List<BlogRoll> findAll() {
        return blogRollMapper.findAll();
    }
}
